#include <stdio.h>
#include "expression.h"

int main(int argc, char* argv[])
{
	int result;
	if (argc<2){
		printf("calculator <expression>\n");
		return 0;
	}

	evaluate(argv[1],&result);
	printf("%d\n", result);
	return 0;
}
